package com.liangxy.news.api;

import com.google.gson.annotations.SerializedName;
import com.liangxy.news.model.News;
import com.liangxy.news.model.NewsDetailResult;

/**
 * Response class for news detail API
 */
public class NewsDetailResponse {
    
    @SerializedName("error_code")
    private int error_code;
    
    @SerializedName("reason")
    private String reason;
    
    @SerializedName("result")
    private NewsDetailResult result;
    
    public int getErrorCode() {
        return error_code;
    }
    
    public void setErrorCode(int errorCode) {
        this.error_code = errorCode;
    }
    
    public String getReason() {
        return reason;
    }
    
    public void setReason(String reason) {
        this.reason = reason;
    }
    
    public NewsDetailResult getResult() {
        return result;
    }
    
    public void setResult(NewsDetailResult result) {
        this.result = result;
    }
} 